<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org">
<head>
    <th:block th:include="include :: header('右上角个人信息')" />
    <style>
        *{
            margin: 0px;
            padding: 0px;
        }
    </style>

</head>
<body>
<div class="panel panel-default">
    <div class="panel-heading">
        <h3 class="panel-title">修改个人信息</h3>
    </div>

    <div class="panel-body">
        <!--按钮-->
        <!--<button id="remove" class="btn btn-danger">删除</button>-->
        <!--表格内容-->

    </div>
</div>
<!-- 全局js -->
<th:block th:include="include :: common-js" />
<script th:inline="javascript">
    var path = ctx + 'SysUserPage';
    $(function () {
        //1.初始化Table
        var oTable = new TableInit();
        oTable.Init();
    });
    //重置密码
    function rePassword(userId){
        var config = {
            url:path+"/rePassword",
            type:"post",
            data:{"id":userId},
            dateType:"json",
            success:function(e){
                if (e.result=="成功"){
                    layer.msg("密码重置成功!",{time:2000});
                }else{
                    layer.msg("密码重置成功!",{time:2000});
                }
            }
        }
        $.ajax(config);
    }

</script>

</body>
</html>